@import 'public.scss';

// 头部样式
header{
    a{
        color: #515151;
        line-height: 70px;
        font-size: 18px;
        padding-left: 3px;
        &:hover{
            text-decoration: none;color: #515151;
        }
    }
    img{
        margin: 10px 0;
        margin-right: 20px;
    }
}
// 中间样式
main{
    min-height: 500px;
    .pic{
        img{
            padding-top: 47px;
            margin-right: 30px;
            width: 540px;
            height: 390px;
        }
    }
    .login{
        width: 400px;
        .login-header{
            width: 400px;
            height: 50px;
            .left{
                font-size: 20px;
            }
            .right{
                line-height: 30px;
                text-align: center;
                margin-top: 12px;
            }
        }
        .login-box{
            min-height: 150px;
            border: 1px solid #ededed;
            .login-top{
                border-top: 2px solid #69af05;
                line-height: 38px;
                span{
                    &::before{
                        content: '';
                        display: inline-block;
                        background: url(../img/loginicon.png) no-repeat;
                        margin: 0px 5px 0 24px;
                        width: 15px;
                        height: 15px;   
                        vertical-align: middle;
                    }
                }
            }
            ul{
                width: 348px;
                padding: 39px 0 0 25px;
                .loginErroBox{
                    visibility: hidden;
                    width: 348px;
                    background: #FDEFEC;
                    border: 1px solid #FFB6A9;
                    font-size: 12px;
                    color: #FF4422;
                    margin: 6px 0;
                    img{
                        width: 18px;
                        height: 18px;
                        margin-left: 7px;
                    }
                    span{
                        line-height: 26px;
                    }
                }
                .loginPhone,.loginCode{
                    width: 348px;
                    height: 40px;
                    border: 1px solid #BDBDBD;
                }
                .loginCode{
                    margin-top: 14px;
                }
                .phone-icon,.code-icon{
                    width: 41px;
                    height: 38px;
                    float: left;
                    border-right: 1px solid #BDBDBD;
                    background: #f0f0f0;
                    span{
                        display: inline-block;
                        width: 18px;
                        height: 18px;
                        margin-top: 12px;
                        margin-left: 12px;
                        background: url(../img/user.png) no-repeat;
                    }
                }
                .code-icon span{
                    background: url(../img/phone.png) no-repeat;
                }
                .phone-ipt,.code-ipt{
                    input{
                        width: 250px;
                        line-height: 35px;
                        padding: 1px 8px;
                    }
                }
                .code-ipt{
                    input{
                        width: 190px;
                    }
                    span{
                        color: #669901;
                        cursor: pointer;
                        text-align: center;
                        display: inline-block;
                        margin: 8px 0;
                        padding: 0 15px;
                        line-height: 22px;
                        border-left: 1px solid #CDCDCD;
                        font-size: 12px;
                    }
                }
                .checkbox{
                    padding-top: 44px;
                    padding-bottom: 16px
                    input{
                        width: 18px;
                        height: 18px;
                        background-color: #ededed;
                        border: 1px solid #BDBDBD;
                    }
                    p{
                        line-height: 18px;
                        font-size: 12px;
                        margin-top: 3px;
                        span{
                            color: #669901;
                        }
                    }
                }
                .btn{
                    display: block;
                    background: #8DC63F;
                    border-radius: 4px;
                    height: 39px;
                    text-align: center;
                    color: #fff;
                    font-size: 16px
                }
                .login-user{
                    height: 18px;
                    padding-top: 16px;
                    padding-bottom: 21px;
                }
            }
            .login-bottom{
                width: 356px;
                margin: 0 auto;
                padding: 0;
                height: 48px;
                border-top: 1px solid #EDEDED;
                li{
                    cursor: pointer;
                    float: left;
                    color: #515151;
                    line-height: 26px;
                    width: 86px;
                    text-align: left;
                    margin-top: 10px;
                    border-right: 1px solid #ededed;
                    &::before{
                        margin-right: 3px;
                        content: '';
                        display: inline-block;
                        background: url(../img/logo-icon.jpg) no-repeat;
                        vertical-align: middle;
                        width: 20px;
                        height: 20px;
                    }
                   &:nth-of-type(2){
                    margin: 10px 10px;
                    &::before{
                        background: url(../img/logo-icon.jpg) -21px 0px no-repeat;
                    }
                   }
                   &:nth-of-type(3){
                    margin: 10px 10px;
                    border: 0;
                    &::before{
                        background: url(../img/logo-icon.jpg) -84px 0px no-repeat;
                    }
                   }
                }
            }
        }
    }
}
// 页脚
footer{
    padding: 20px;
    font-size: 12px;
    font-family: "微软雅黑", Arial, Helvetica, sans-serif;
    line-height: 1.4em;
    color: #515151;
}